<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户组设置</title>
<script type="text/javascript">
    jQuery(document).ready(function () {

    });
</script>
<body class="withvernav">
    <div class="bodywrapper">
        {{include file='/public/leftmenu.tpl'}}
        <div class="centercontent tables">
            <div class="pageheader notab">
                <h1 class="pagetitle">职务设置</h1>
                <span class="pagedesc"></span>
                <div class="menulist">
                    <ul class="profile_summary">
                        <li><a href="/user/addusergroup" class=""><span>申请职务</span></a></li>
                    </ul>
                </div>
            </div>
            <!--pageheader-->

            <div id="contentwrapper" class="contentwrapper"> 


                <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
                    <colgroup>
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />

                    </colgroup>
                    <thead>
                        <tr>
                            <th class="head0">NO</th>
                            <th class="head0">名称</th>
                            <th class="head0">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        {{foreach from=$list item=li key=key}}
                        <tr>
                            <td>{{$li.id}}</td>
                            <td>{{$li.title}}</td>
                            <td class="center">
                                <a href="/user/editusergroup?id={{$li.id}}">编辑</a>
                                &nbsp;|&nbsp; 
                                 {{if $li.id ==1 || $li.id ==10 || $li.id ==20}}
                              
                              	{{else}}
                                  <a href="/user/delusergroup?id={{$li.id}}">删除</a>

                                {{/if}}
                            </td>
                        </tr>
                        {{/foreach}}
                    </tbody>
                </table>
                <div class="page">{{$pageList}}</div>
                <br />
                <br />
            </div>
        </div>
        <!--bodywrapper-->

</body>
</html>